package com.ruoyi.sys.security.mapper;

import java.util.List;
import com.ruoyi.sys.security.domain.TbKeepWatch;

/**
 * 巡更点配置Mapper接口
 * 
 * @author iuxin
 * @date 2022-05-25
 */
public interface TbKeepWatchMapper 
{
    /**
     * 查询巡更点配置
     * 
     * @param kwId 巡更点配置主键
     * @return 巡更点配置
     */
    public TbKeepWatch selectTbKeepWatchByKwId(Long kwId);

    /**
     * 查询巡更点配置列表
     * 
     * @param tbKeepWatch 巡更点配置
     * @return 巡更点配置集合
     */
    public List<TbKeepWatch> selectTbKeepWatchList(TbKeepWatch tbKeepWatch);

    /**
     * 新增巡更点配置
     * 
     * @param tbKeepWatch 巡更点配置
     * @return 结果
     */
    public int insertTbKeepWatch(TbKeepWatch tbKeepWatch);

    /**
     * 修改巡更点配置
     * 
     * @param tbKeepWatch 巡更点配置
     * @return 结果
     */
    public int updateTbKeepWatch(TbKeepWatch tbKeepWatch);

    /**
     * 删除巡更点配置
     * 
     * @param kwId 巡更点配置主键
     * @return 结果
     */
    public int deleteTbKeepWatchByKwId(Long kwId);

    /**
     * 批量删除巡更点配置
     * 
     * @param kwIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbKeepWatchByKwIds(Long[] kwIds);
}
